package view;


import java.awt.BorderLayout;
import java.awt.Dimension;

import javax.swing.JPanel;

import resource.manager.ResourceManager;

public class InnerPannel extends JPanel{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	public InnerPannel(){
		super(new BorderLayout());
		this.setSize(new Dimension(400,400));
		ResourceManager resources = ResourceManager.getInstance();
		resources.addResourcesFromFile("viewsizes");
		int [] size = resources.getIntegerArray("canvas_deminsions");
		new Canvas(new Dimension(size[0],size[1]));
	}

}
